$(function() {

    $("#tabvanilla").tabs({active: 0});

    // Initialize Advanced Galleriffic Gallery
    var gallery = $('#thumbs').galleriffic({
        delay: 3000,
        numThumbs: 9999,
        preloadAhead: 10,
        enableTopPager: false,
        enableBottomPager: false,
        maxPagesToShow: 100,
        imageContainerSel: '#slideshow',
        loadingContainerSel: '#loading',
        enableHistory: false,
        autoStart: true,
        syncTransitions: true,
        defaultTransitionDuration: 1300
    });

});